<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>

        var a = 1 ;
        var b = 2 ;
        var c = a + b ;   // 3
        var d = a - b ;   // -1
        var e = a * b ;   // 2
        var f = a / b ;   // 0.5

        // 取余 --- 模
        var g = 7 % 3 ;
        console.log(g) ;

        var h = 3 % 7 ;
        console.log(h) ;


    </script>
    
</body>
</html>